package com.self.springframework.beans.factory.config;

import com.self.springframework.beans.factory.HierarchicalBeanFactory;

/**
 * 可配置的bean工厂,提供了丰富的配置和管理Bean工厂的能力,能够更灵活的控制Bean的生命周期、作用域、类型转换等
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory,SingletonBeanRegistry {

    String SCOPE_SINGLETON = "singleton";
    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    void destroySingletons();
}
